package com.ysy.tz.mfg.dao;

import com.ysy.tz.mfg.entity.GradingDetailEntity;
import java.sql.SQLException;
import java.util.ArrayList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GradingDetailDao {
    GradingDetailEntity selectGradingDetailByBarcode(@Param("enterpriseId") Integer var1, @Param("barcode") String var2);

    String selectLastBillNoWithDay(@Param("enterpriseId") Integer var1, @Param("supplierId") Integer var2, @Param("day") String var3);

    Integer selectMaxSerialNumWithDay(@Param("enterpriseId") Integer var1, @Param("day") String var2);

    int insertGradingDetail(GradingDetailEntity var1) throws SQLException;

    int updateGradingDetail(GradingDetailEntity var1) throws SQLException;

    ArrayList<GradingDetailEntity> listForPage(GradingDetailEntity var1);
}
